#ifndef COMMON_H
#define COMMON_H
#include <TFT_eSPI.h>
enum Action
{    
	TURN_LEFT,
	TURN_RIGHT,
	FORWARD,
	BACK,
	NOACT
};

enum Event
{    
	RGB_CHANGE,
	RGB_FLIKER,
	GREEN,
	RED,
	NOEVENT,
	RESET
};

extern TFT_eSPI tft;
extern uint8_t *BufWithDma;
#define DMA_BUFFER_SIZE 512 


#endif